<template>
    <div class="baseBox">
        <pagetitle></pagetitle>
        <div class="warmprompt">
            <el-form :inline="true" :model="formInline" class="demo-form-inline">
                <el-form-item label="产业分类">
                    <el-select v-model="formInline.region" placeholder="产业大类">
                        <el-option label="区域一" value="shanghai"></el-option>
                        <el-option label="区域二" value="beijing"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="二级分类">
                    <el-select v-model="formInline.region" placeholder="产业小类">
                        <el-option label="区域一" value="shanghai"></el-option>
                        <el-option label="区域二" value="beijing"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="三级分类">
                    <el-select v-model="formInline.region" placeholder="产业名称">
                        <el-option label="区域一" value="shanghai"></el-option>
                        <el-option label="区域二" value="beijing"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="四级分类">
                    <el-select v-model="formInline.region" placeholder="产业细分">
                        <el-option label="区域一" value="shanghai"></el-option>
                        <el-option label="区域二" value="beijing"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="栽培年份">
                    <el-input v-model="formInline.user" placeholder="输入栽培年份"></el-input>
                </el-form-item>
                <el-form-item label="分类面积（亩）">
                    <el-input v-model="formInline.user" placeholder="输入分类面积"></el-input>
                </el-form-item>
                <el-form-item label="行距（米）">
                    <el-input v-model="formInline.user" placeholder="输入栽培行距"></el-input>
                </el-form-item>
                <el-form-item label="株距（米）">
                    <el-input v-model="formInline.user" placeholder="输入栽培株距"></el-input>
                </el-form-item>
                <el-form-item label="亩栽培株数（株）">
                    <el-input v-model="formInline.user" placeholder=" '=666/(行距*株距)"></el-input>
                </el-form-item>
                <el-form-item label="栽培总株数（株）">
                    <el-input v-model="formInline.user" placeholder="输入栽培株数"></el-input>
                </el-form-item>
                <!-- <el-form-item>
                    <el-button type="primary" @click="onSubmit">查询</el-button>
                </el-form-item> -->
            </el-form>
            <mars3d height="700px" btnText="电子围栏"></mars3d>
            <div class="btns">
                <el-button type="primary" @click="router.back()">返回</el-button>
                <el-button>保存</el-button>
            </div>
        </div>
    </div>
</template>
<script lang="ts" setup>
import mars3d from "@/components/mars3d.vue";

import { ref } from "vue";
import { useRouter } from "vue-router";
const router = useRouter();
const input = ref("");
const tableData: any = ref([{}, {}]);
const formInline: any = ref({});
</script>
<style lang="scss" scoped>
.baseBox {
    width: 100%;
    .warmprompt {
        padding: 20px;
        background: #ffffff;
        .warmprompttitle {
            font-size: 16px;
            font-weight: bold;
            color: #252b3a;
        }
        .demo-form-inline {
            margin-top: 20px;
            .addRess {
                width: 300px;
            }
        }
    }

    .btns {
        margin-top: 30px;
        button {
            margin-right: 20px;
        }
    }
}
</style>
